CXXFLAGS =	-O2 -g -Wall -fmessage-length=0 ${INCLUDES} ${LIBS}
LDFLAGS  = 

SOURCE = $(wildcard *.cpp)
OBJS =	$(SOURCE:.cpp=.o)

COMN_DIR=../comn
THIRD_PARTY = ../third_party

INCLUDES = -I. \
	-I../MediaDecoder \
	-I$(COMN_DIR)/include \
	-I${THIRD_PARTY}/ffmpeg/linux/include \
	

LIBS = -lpthread \
	-L$(COMN_DIR)/lib -lcomn \
	-L${THIRD_PARTY}/ffmpeg/linux/lib/  \
	-L../lib \
	-lMediaDecoder \
	-lcomn \


TARGET = DemoUrl

$(TARGET):	$(OBJS)
	$(CXX) -o $(TARGET) $(OBJS) $(LIBS) $(LDFLAGS)

all:	$(TARGET)

clean:
	rm -f $(OBJS) $(TARGET)

